Fix lint in tests
authorFelix Krull <f_krull@gmx.de>
Thu, 31 Oct 2019 14:12:04 +0000 (15:12 +0100)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:55 +0000 (12:53 -0400)
rust-bindings/rust/tests/repo/mod.rs

index 16d52737c53587379be3fda2eeef6eeb4218201a..b4e4392ca961b23ffd4e9b87057fcc6f9ce54464 100644 (file)
@@ -120,7 +120,7 @@ fn copy_file(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) {
     assert_eq!(out_csum.to_string(), obj.checksum());
 }
 
-fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) -> () {
+fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) {
     let data = src
         .repo
         .load_variant(obj.object_type(), obj.checksum())